﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using TestPlatform.Performer.Mssql.EF.Entities;

namespace TestPlatform.Performer.Mssql.EF
{
    public class RepositoryContext : DbContext
    {
        public DbSet<Post> Posts { get; set; }
        public DbSet<User> Users { get; set; }

        public RepositoryContext()
        {
            Database.SetInitializer(new DropCreateDatabaseIfModelChanges<RepositoryContext>());
        }
    }
}
